package P4树形结构;

public interface Queue<E> {
    public int size();
    public boolean isEmpty();
    public void clear();
    //队列 Queue
    public void offer(E element);   //入队
    public E poll();                //出队
    public E element();             //查看队首元素
}
